<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    .bubble {
      padding: 10px;
      border-radius: 10px;
      position: relative;
      color: white;
      background-color: skyblue;
      max-width: 500px;
      margin-bottom: 15px;
    }

    .bubble::before {
      content: '';
      position: absolute;
      display: block;
      background-color: skyblue;
      bottom: -15px;
      width: 30px;
      height: 15px;
    }

    .bubble-left::before {
      left: 10px;
      clip-path: polygon(10px 0, 30px 0, 0 15px)
    }

    .bubble-right::before {
      right: 10px;
      clip-path: polygon(0 0, 20px 0, 30px 15px)
    }
  </style>
</head>

<body>
  <span class="bubble bubble-left">夕阳西下</span>
  <span class="bubble bubble-right">断肠人在天涯</span>
</body>

</html>